﻿using System.ServiceModel;
using DemoLib.Providers.Shared.Models;

namespace DemoLib.Providers.Shared.Contracts
{
    [ServiceContract]
    public interface IOutputCacheService
    {
        [OperationContract]
        OutputCache Get(string key);

        [OperationContract]
        OutputCache AddOrUpdate(OutputCache outputCache);

        [OperationContract]
        void Remove(string key);
    }
}
